import { registerAs } from '@nestjs/config';

export default registerAs('conflux', () => ({
  url: process.env.CONFLUX_URL,
  networkId: parseInt(process.env.CONFLUX_NETWORK_ID),
  address: process.env.CONFLUX_ADDRESS,
  privateKey: process.env.CONFLUX_PRIVATE_KEY,
}));
